<!DOCTYPE html>
<!--<html xmlns:th="http://www.thymeleaf.org">-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.25" charset="UTF-8">
    <title>User Information</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
    <!--    <link rel="stylesheet" th:href="@{/css/styles.css}">-->
</head>
<body>
<!-- 顶部公共内容 -->
<div th:replace="common/top"></div>

<div id="Catalog" class="container">
    <!-- 用户信息 -->
    <table class="user-info">
        <tr>
            <th colspan="2" align="center">YOUR INFORMATION</th>
        </tr>
        <tr>
            <td>User Name:</td>
            <td th:text="${username}"></td>
        </tr>
        <tr>
            <td>Password:</td>
            <td th:text="${password}"></td>
        </tr>
        <tr>
            <td>FirstName:</td>
            <td th:text="${firstname}"></td>
        </tr>
        <tr>
            <td>LastName:</td>
            <td th:text="${lastname}"></td>
        </tr>
        <tr>
            <td>Email:</td>
            <td th:text="${email}"></td>
        </tr>
        <tr>
            <td>Status:</td>
            <td th:text="${state}"></td>
        </tr>
        <tr>
            <td>Address1:</td>
            <td th:text="${address1}"></td>
        </tr>
        <tr>
            <td>Address2:</td>
            <td th:text="${address2}"></td>
        </tr>
        <tr>
            <td>City:</td>
            <td th:text="${city}"></td>
        </tr>
        <tr>
            <td>State:</td>
            <td th:text="${state}"></td>
        </tr>
        <tr>
            <td>Zip:</td>
            <td th:text="${zip}"></td>
        </tr>
        <tr>
            <td>Country:</td>
            <td th:text="${country}"></td>
        </tr>
        <tr>
            <td>Phone:</td>
            <td th:text="${phone}"></td>
        </tr>
        <tr>
            <td>FavouriteCategoryid</td>
            <td th:text="${favoritecategory}"></td>
        </tr>
        <tr>
            <td>LanguagePreference</td>
            <td th:text="${language}"></td>
        </tr>
<!--        <tr>-->
<!--            <td colspan="2">-->
<!--                <a th:href="@{/AccountOrderDateServlet}" class="button">OrderLog</a>-->
<!--            </td>-->
<!--        </tr>-->
    </table>

<!--    日志-->

    <div class="Log">
<!--        <a th:href="@{/Log/log/LogForm.html}">Create New Log ?</a>-->
        <a href="/Log/log">Create New Log ?</a>
    </div>
<!--    &lt;!&ndash; 订单信息 &ndash;&gt;-->
<!--    <form th:action="@{/submitOrder}" method="post">-->
<!--        <table class="order-table">-->
<!--            <tr>-->
<!--                <td>-->
<!--                    <h2>Your Order</h2>-->
<!--                    <table>-->
<!--                        <thead>-->
<!--                        <tr>-->
<!--                            <th>Item ID</th>-->
<!--                            <th>Product ID</th>-->
<!--                            <th>Description</th>-->
<!--                            <th>In Stock?</th>-->
<!--                            <th>Quantity</th>-->
<!--                            <th>List Price</th>-->
<!--                            <th>Total Cost</th>-->
<!--                        </tr>-->
<!--                        </thead>-->
<!--                        <tbody>-->
<!--                        <tr th:each="accountOrder : ${accountOrderList}">-->
<!--                            <td>-->
<!--                                <a th:href="@{/itemForm(itemId=${accountOrder.itemid})}"-->
<!--                                   th:text="${accountOrder.itemid}"></a>-->
<!--                            </td>-->
<!--                            <td th:text="${accountOrder.productid}"></td>-->
<!--                            <td th:text="${accountOrder.description}"></td>-->
<!--                            <td th:text="${accountOrder.instock} ? 'Yes' : 'No'"></td>-->
<!--                            <td th:text="${accountOrder.quantity}"></td>-->
<!--                            <td th:text="${#numbers.formatDecimal(accountOrder.listprice, 0, 2)}"></td>-->
<!--                            <td th:text="${#numbers.formatDecimal(accountOrder.totalcost, 0, 2)}"></td>-->
<!--                        </tr>-->
<!--                        <tr>-->
<!--                            <td colspan="6">Sub Total:</td>-->
<!--                            <td th:text="${#numbers.formatDecimal(session.cart.subTotal, 0, 2)}"></td>-->
<!--                        </tr>-->
<!--                        </tbody>-->
<!--                    </table>-->
<!--                </td>-->
<!--            </tr>-->
<!--        </table>-->
<!--    </form>-->
</div>

<!--<div th:replace="common/bottom"></div>-->
<!-- 底部公共内容 -->
<div th:replace="common/bottom"></div>

<!--脚本-->
<script th:src="@{/js/background.js}" count="500"></script>
</body>
</html>